package com.group02.community.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.group02.community.entity.community.ZyBuilding;
import com.group02.community.entity.community.ZyUnit;


import java.util.List;

public interface BuildingService extends IService<ZyBuilding> {
    IPage<ZyBuilding> getBuildingPage(Integer currentPage,Integer pageSize,ZyBuilding zyBuilding);

    List<String> getBuildingNames();

    List<ZyUnit> getUnitListByBuildingId(String buildingId);
}
